package com.ywq.app.biz;

import java.util.List;
import java.util.Map;

import com.ywq.app.domain.ArtArtist;
import com.ywq.app.domain.ArtArtistPic;
import com.ywq.app.domain.ArtMade;
import com.ywq.app.domain.ArtMadeAudit;
import com.ywq.app.domain.ArtMadeTalk;
import com.ywq.common.exception.AppBusinessException;
import com.ywq.common.page.PageModel;

public interface ArtMadeBiz {
	public PageModel getArtistList(Integer page) throws AppBusinessException;
	
	public void insertArtArtist(ArtArtist artArtist) throws AppBusinessException;
	
	public PageModel getArtistPicList(Integer page,String artistId) throws AppBusinessException;
	
	//展示页面艺术家
	public PageModel getMadeArtistList(Integer page) throws AppBusinessException;
	
	public PageModel getMadeNiceArtistList(Integer page) throws AppBusinessException;
	
	public List<ArtArtistPic> getPicListByIstId(String id) throws AppBusinessException ;
	
	public PageModel getArtistListForMisc(Integer page,Integer pageSize) throws AppBusinessException;
	
	public PageModel getArtistPicListForMisc(Integer page,String artistId,Integer pageSize) throws AppBusinessException;
	
	public  ArtArtist getArtist(String id) throws AppBusinessException;
	
	public void insterMade(ArtMade artMade ) throws AppBusinessException;
	
	public PageModel getMadeOrderList(Map<String,Object> map) throws AppBusinessException;
	
	public List<ArtMadeTalk> getTalkListByMadeId(String madeId,String madeStage)throws AppBusinessException;
	
	public  ArtMade  getArtMadeById(String id) throws AppBusinessException;
	
	public void insertArtMadeTalk(ArtMadeTalk artMadeTalk) throws AppBusinessException;
	
	public PageModel getTalkGrid(Map<String,Object> map) throws AppBusinessException;
	
	public void insertMadeAudit(ArtMadeAudit artMadeAudit ) throws AppBusinessException;
	
	public List<ArtMadeAudit> getMadeAuditByMadeId(String madeId)throws AppBusinessException;
	
	public PageModel getArtMadeAuditGrid(Integer page,Integer pagesize) throws AppBusinessException;
	
	public void passMadeAudit(String auditId) throws AppBusinessException;
	
	public ArtMadeAudit getMadeAuditByAuditId(String auditId)throws AppBusinessException;
	
	public void updateArtist(ArtArtist artArtist) throws AppBusinessException;
	
	public PageModel getMadeArtistCsList(Integer page,String classId) throws AppBusinessException;
	
	public ArtArtistPic getArtArtistPicByPicId(String picId)throws AppBusinessException;
	
	public List<ArtArtistPic> getArtistPicList(String artistId)throws AppBusinessException ;
	
	public PageModel getArtistPicListForArtist(Integer page,String artistId,Integer pageSize,String classId) throws AppBusinessException;

	public  ArtMadeAudit getArtMadeAuditById(String id) throws AppBusinessException;
	
	public void updateMadePay(String madeId,String auditKey) throws AppBusinessException;
	
	public  ArtMadeAudit getArtMadeAuditByMadeId(String madeId,String auditKey) throws AppBusinessException;
	
	public int getAllPicNumByArtistId(String artistId)throws AppBusinessException ;
	
	public PageModel queryArtistAuditListGrid(String artistId,Integer page,Integer pagesize) throws AppBusinessException;
}
